#ifndef NOTEPAD_H
#define NOTEPAD_H
#include <QObject>
#include <QTextEdit>
#include <QPushButton>
#include <QMainWindow>
#include <QAction>
#include <QMenu>

class Notepad : public QMainWindow
{
    Q_OBJECT

public:
    Notepad();
private slots:
    void open();
    void save();
    void print();
    void quit();
private:
    QTextEdit *textEdit;
    QAction *openAction;
    QAction *saveAction;
    QAction *printAction;
    QAction *quitAction;

    QMenu *fileMenu;
};

#endif // NOTEPAD_H
